/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.universityUnits;

import model.RestrictedCollection;

/**
 * Interface gives restricted acccess to curriculum.
 * That includes: interface of restricted collection, get group-owner of curriculum.
 * @author Dmirti Paziy
 */
public interface CurriculumInterface extends RestrictedCollection<Lesson> {
    /**
     * Getter of group, that owns this curriculum
     * @return 
     */
    GroupInterface getGroup();
    /**
     * Getter of discipline by its name. If such discipline wasn't found, 
     * <i>null</i> value is returned. 
     * @param name Name of discipline
     * @return Lesson or null.
     */
    Lesson getLesson(String name);
}
